/**
 * Written By: MinHo Kim (minho.kim.korea@gmail.com)
 * Copyright (C) 2011, MinHo Kim, Software Expert Program, KAIST University, Seoul, Korea.
 * This program is free software; you can redistribute it and/or modify it 
 * under the terms of the GNU General Public License as published 
 * by the Free Software Foundation; version 2 of the License.
 * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; 
 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
 * See the GNU General Public License for more details.
 */
package kaist.sep502.tsp.model;

/**
 * @author minho kim
 *
 */
public class Distance {
	private int from;
	private int to;
	private int angle;
	private double distance;

	/**
	 * @param from
	 * @param to
	 * @param angle
	 * @param distance
	 */
	public Distance(int from, int to, int angle, double distance) {
		this.from = from;
		this.to = to;
		this.angle = angle;
		this.distance = distance;
	}
	/**
	 * @return the from
	 */
	public int getFrom() {
		return from;
	}
	/**
	 * @return the to
	 */
	public int getTo() {
		return to;
	}
	/**
	 * @return the angle
	 */
	public int getAngle() {
		return angle;
	}
	/**
	 * @return the distance
	 */
	public double getDistance() {
		return distance;
	}
}
